<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <title>后盾人</title>
  </head>
  <body></body>
  <script>
    // let user = { name: "后盾人", age: 18 };
    // // console.log(user);
    // const { name, age } = user;
    // console.log(age);
    // function hd() {
    //   return { name: "后盾人", age: 18 };
    // }
    // let { name, age } = hd();
    // console.log(name, age);

    // function user({ name, age }) {
    //   console.log(name, age);
    // }
    // user({ name: "向军", age: 22 });
    // Math={
    //   random: abs
    // }
    // console.log(Math);
    // let { random } = Math;
    // console.log(random());

    let user = { name: "后盾人", age: 18 };
    const { name } = user;
    console.log(name);
  </script>
</html>
